package com.lala.commom.remote;

import com.lala.commom.pojo.Question_bank;
import com.lala.commom.pojo.Topic_record;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface Topic_recordRemote {
    @RequestMapping("/chayizti")
    List<Topic_record> chayizti(@RequestParam("cid") int cid, @RequestParam("uid")int uid);
    @RequestMapping("/shanyizuo")
    int shanyizuo(@RequestParam("userid") int userid,@RequestParam("cid") int cid);
    @RequestMapping("/addti")
    int addti(@RequestBody Topic_record topic_record);
}
